package de.uni_saarland.coli.doclists.data.btree;

public class MapFactory<T> {
	private MapType type;
	
	public MapFactory(MapType t) {
		this.type = t;
	}
	
	public IMapData<T> create() {
		switch (this.type) {
		case MemeoryMap:
			return new MemoryMapData<T>();
		default:
			return null;
		}

	}
	
}
